package com.ticket.sass.admin.dto.input.film;

import com.ticket.sass.admin.validator.InEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import java.util.List;

/**
 * @author ywb
 * @date 2024-03-12 15:23
 */
@Data
@ApiModel
public class SaleChannelInput {
    @ApiModelProperty(value = "ID")
    private Long id;
    
    @ApiModelProperty("类型 0 微信 1 抖音 2 支付宝 ")
    @Valid
    private List<@InEnum(intValues = {0, 1, 2}) Short> type;
}
